package com.luohh.tsfproduct;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.tsf.annotation.EnableTsf;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@EnableTsf
@RestController
public class TsfProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(TsfProductApplication.class, args);
    }

    @GetMapping("/productInfo")
    public String getProductInfo(){
        return "Hello tsf,it is product info is: name,car;price,1111111.00";
    }

}
